package com.bangbang.service;


import com.bangbang.pojo.Order;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Override
    public void save(Order order) {
        System.out.println("增加成功");
    }

    @Override
    public void delete(Integer orderId) {
        System.out.println("删除成功");
    }

    @Override
    public void update(Order order) {
        System.out.println("修改成功");
    }

    @Override
    public Order selectById(Integer orderId) {
        Order order = new Order();
        order.setOrderId(orderId);
        order.setOrderName("阿三");
        order.setAddr("文化活动包括");
        return order;
    }
}
